package com.spzx.cart.service;

import com.spzx.cart.api.domain.CartInfo;

import java.util.List;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2025/3/3 19:27
 * @注释
 */
public interface ICartService {

    void addToCart(Long skuId, Integer skuNum);

    List<CartInfo> getCartList();

    void deleteCart(Long skuId);

    void checkCart(Long skuId, Integer isChecked);

    void allCheckCart(Integer isChecked);

    void clearCart();

    List<CartInfo> getCartCheckedList();
}
